<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="/css/admin.css" rel="stylesheet" type="text/css" />

<style>
.hide_cando{
	<?php echo 'display:none !important;';?>
}

#banner{
	width: 99%;
}


.bottom_line{
	border-bottom:1px #000 solid;
}

.top_line{
	border-top:1px #000 solid;
}

a{
	text-decoration:none;
	color:#000;
}

.banner3{
	posi tion:relative;	
}

.banner3 a:hover{
	text-decoration:none;
}

.banner2 a{
	position:relative;
	display:block;
	font-size:12px;
	padding-left:75px;
	line-height:22px;
	height:22px;
	color:#444;
}

.b_xu{
	border-bottom:1px dashed #222;
}

.title_border{
	border:1px solid #999;
}

.now_part{
	background:rgb(35,24,21);
	color:white;
}

#home,#content,#sort,#user,#setting,#email,#area,#vip_,#jiameng,#limits{
	border:1px solid #999;
	text-align:center;
	display:block;
	font-weight:bold;
	font-size:16px;
	line-height:40px;
	width:100%;
	margin-bottom:2px;
	cursor:pointer;
}
</style>

<script src="/js/a.js"></script>
<script>
var arr = new Array();
arr['1']='';
arr['2']='';
var now_obj=null;
var now_part='home';
function so(obj,lv){
	lv=lv==null?'':lv;
	
	if($('#'+obj+'_'+lv).css('display')=='none'){
		if(lv==2){
			var p = $('#'+obj).children('img');
			$(p[0]).attr('src','/img/adminiii/open.png');
		}
		if(parseInt(lv)<2){
			//$('#'+obj).css({'background-color':'rgb(35,24,21)','color':'white'});
		}
		$('#'+obj+'_'+lv).slideDown(200);
	}else{
		if(lv==2){
			var p = $('#'+obj).children('img');
			$(p[0]).attr('src','/img/adminiii/close.png');
		}
		if(parseInt(lv)<2){
			//$('#'+obj).css({'background-color':'','color':''});
		}
		$('#'+obj+'_'+lv).slideUp(200);
	}
	return false;
}

function tag(obj,obj_part){
	
	/*var main = window.parent.document.getElementById('main-frame');
	var o = $(obj);
	var t = $('#'+o.parent().attr('id').split("_")[0]).text();
	//alert(o.attr('href')+'?tag_title='+encodeURIComponent(t)+encodeURIComponent(o.text()));
	$(main).attr('src',o.attr('href')+'?tag_title='+encodeURIComponent(t)+encodeURIComponent(o.text()));
	//$(main).attr('src',o.attr('href'));*/
	
	if(now_obj != obj){
		$('#tag_s').remove();
		var a = '<img src="/img/adminiii/tag_s.jpg" style="position:absolute; left: 30px; top: 8px;" id="tag_s"/>';
		$(obj).css({'color':'#000','font-weight':'bold'});
		$(now_obj).removeAttr('style');
		now_obj = obj;
	}
	focus_part(obj_part);
}

function remove_tag(){
	$('#tag_s').remove();
	$(now_obj).removeAttr('style');
	now_obj = null;
}

function focus_part(obj_part){
	$('#'+now_part).removeClass('now_part');
	$('#'+obj_part).addClass('now_part');
	now_part=obj_part;
}

$(document).ready(function(){
	
	$('#'+now_part).removeClass().addClass('now_part');
	
	$('#content_1').find('a').each(
		function(){
			var o = $(this);
			var t = $('#'+o.parent().attr('id').split("_")[0]).text();
			this.href = this.href+'?tag_title='+encodeURIComponent(t+' &#65310; ')+encodeURIComponent(o.text());
		}
	)
	
	$('#sort_1').find('a').each(
		function(){
			this.href = this.href+'?tag_title='+encodeURIComponent($(this).text())
		}
	)
})

</script>




</head>

<body style="padding-top:68px; background:url(/img/adminiii/banner_bg.png) bottom repeat-x #C5C6C6;">
<div id="banner">

<a href="__APP__/Index/_main" target="main" onclick="javascript:remove_tag();focus_part('home');" id="home">
<img src="/img/adminiii/home.png" width="20" height="20" class="mr8 ml2" style="margin-bottom:-4px;"/>
管理首页
<div class="c"></div>
</a>

<div onclick="javascript:so(this.id,'1')" id="content">
<img src="/img/adminiii/content.png" width="29" height="29" class="mr5" style="margin-bottom:-9px; margin-left:-1px;"/>
网站内容
</div content>
<div id="content_1" class="banner2" <?php echo'style="displ ay:none;"';?>>

<div id="home_page" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
<img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>首页</div>
<div id="home_page_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/home/index" onclick="javascript:tag(this,'content');" target="main"> 内容</a>
</div>

<div id="news" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
<img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>新闻活动</div>
<div id="news_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/news/index" onclick="javascript:tag(this,'content');" target="main"> 新闻发布</a>
<a href="__APP__/news2/index" onclick="javascript:tag(this,'content');" target="main"> 精彩回顾</a>
</div>

<div id="brand" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
<img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>品牌介绍</div>
<div id="brand_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/brand/index" onclick="javascript:tag(this,'content');" target="main"> 品牌内容</a>
<a href="__APP__/source/index" onclick="javascript:tag(this,'content');" target="main"> 课程来源</a>
</div>

<div id="course" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
<img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>课程体系</div>
<div id="course_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/course/index" onclick="javascript:tag(this,'content');" target="main"> 内容</a>
</div>

<div id="teach" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
    <img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>教育中心</div>
<div id="teach_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/teach/index" onclick="javascript:tag(this,'content');" target="main"> 内容</a>
</div>

<div id="listen" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
    <img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>试听请求</div>
<div id="listen_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/listen/index" onclick="javascript:tag(this,'content');" target="main"> 所有请求</a>
</div>

<div id="join" class="pl60 f14 hand b h20 pt3 pb3 ml3 hide_cando" style="color:#555;" onclick="javascript:so(this.id,'2')">
    <img src="/img/adminiii/close.png" width="12" height="12" class="mr5"/>联系我们</div>
<div id="join_2" class="banner3" <?php echo'style="display:none;"';?>>
<a href="__APP__/job/index" onclick="javascript:tag(this,'content');" target="main"> 所有职位</a>
<a href="__APP__/contact/index" onclick="javascript:tag(this,'content');" target="main"> 联系资料</a>
</div>

</div content_1>


<!--
<div class="lh28 f18 hand b top_line" style="width:100%;" onclick="javascript:so(this.id,'1')" id="sort">
<img src="/img/adminiii/sort.png" class="mr7" width="30" height="30" style="margin-bottom:-9px;"/>系列管理
</div sort>
<div id="sort_1" class="banner2" <?php echo'style="display:none;"';?>>

<div id="brandsort_2" class="banner3">
<a href="__APP__/sort/index/s/collection/file/FALSE" onclick="javascript:tag(this,'sort')" target="main">产品系列</a>
</div>
</div sort_1>
-->
<!-- MEDIA -->
<!--<div class="lh28 f18 hand b top_line" style="width:145px;"  id="media">
<a class="bk w100pc" href="#" target="main"><img src="/img/adminiii/media.jpg" class="fl mr5 pl10"/>媒体库</a>
</div media>
-->
<!-- MEDIA_end -->




<a id="user" class="hide_cando" href="__APP__/user/?tag_title=%E7%94%A8%E6%88%B7" target="main" onclick="javascript:remove_tag();focus_part('user');"><img src="/img/adminiii/user.png" width="24" height="24" class="mr9 ml3" style="margin-bottom:-6px;"/>
用户设置</a>


<a id="setting" class="hide_cando" href="__APP__/setting/basic/" target="main" onclick="javascript:remove_tag();focus_part('setting');"><img src="/img/adminiii/setting.png" width="29" height="29" class="mr5" style="margin-bottom:-11px;"/>
系统设置</a>




<div class="c"></div>
</div banner>

<script>
void function (){
	var cando_arr = new Array({$cando});
	for(var i=0; i<cando_arr.length; i++){
		if('{$user_id}'=='1'){
			$('.hide_cando').toggleClass('hide_cando');
			return true;
		}
		$('#'+cando_arr[i]).toggleClass('hide_cando');
	}
	
	if($('#vip__1').children().size() == $('#vip__1').children('.hide_cando').size()){
		$('#vip_').hide();
	}
	
	if($('#content_1').children().size()-$('#content_1').children().not('.banner3').size() == $('#content_1').children('.hide_cando').size()){
		$('#content_1').hide();
		$('#content').hide();
	}
}()
</script>

</body>
</html>